package com.hmall.mapper;

import com.hmall.model.MallAuction;
import com.hmall.util.MyMapper;
import com.hmall.vo.DataVo2;
import com.hmall.vo.MallAuctionVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface MallAuctionMapper extends MyMapper<MallAuction> {


    Integer selectCountByStatus(@Param("status") Integer status);

    List<MallAuctionVo> selectByStatus(@Param("status") Integer status,@Param("pageStart") Integer pageStart,@Param("pageSize") Integer pageSize);

    List<DataVo2> selectPackageNameList();

    MallAuction selectByName(@Param("package_name") String package_name);
}